package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.entity.User;

import java.util.List;

/**
 * @author xuan
 * @create 2024/4/23
 */
@Mapper
public interface UserMapper {
    User getUserById(int id);

    List<User> selectAll();
}
